package com.wang.learn.common.domain;

import java.io.Serializable;

/**
 * @author : wcz
 * @version V1.0
 * @Description: Entity interface
 */
public interface Entity<T> extends Serializable {


  /**
   * compare by identity
   * @param other
   * @return
   */
  boolean same(T other);
}
